#include "Rectangle.h"
#include "Square.h"

Square::Square(unsigned long side):Rectangle(side,side)
{
}

void Square::setSide(unsigned long side)
{
	setLength(side);
	setWidth(side);
}
long Square::getSide()const
{
	return getLength();
}
